<!-- table search -->
<table>
	<tr>
		<td width="100%" align="left">
		<?php echo $this->search(); ?>
		</td>
		
	</tr>
</table>
<!-- end search -->


<!-- table grid -->
<table class="grid">

	<!-- header -->
	<thead>
		<tr>
			<th width="10px">#</th>
			<th width="5px"><input type="checkbox" onclick="checkAll()"></th>
			
	<th width="200"><?php echo $this->caption("userName","User Name");?></th>
	<th width="50"><?php echo $this->caption('status',"Enable");?></th>
	<th width="200"><?php echo $this->caption('email',"Email");?></th>
	<th width="170"><?php echo $this->caption('lastTime',"Last Visit");?></th>
	<th width="170"><?php echo $this->caption('creationTime',"Creation Time");?></th>
	<th width="30"><?php echo $this->caption('userId',"ID");?></th>

</tr>
	</thead>
	<!-- end header -->

<?php	
    $count = 0;
    foreach ($this->data as $user){ ?>
    <tr>
		<td><?php echo $count+1;?></td>
		<td align="center"><input type="checkbox" class="chkBox"
			name="chkBox[]" value="<?php echo $user['userId']; ?>"></td>
		<td><?php echo $this->escape($user['userName'] ); ?></td>
		<td><?php echo $this->publish($user['status'],$user['userId']); ?></td>
		<td><?php echo $this->escape($user['email'] ); ?></td>
		<td><?php echo $this->escape($user['lastTime'] ); ?></td>
		<td><?php echo $this->escape($user['creationTime'] ); ?></td>
		<td><?php echo $this->escape($user['userId'] ); ?></td>
	</tr>
    <?php $count++; } ?>
</table>
<!-- end table grid -->
    
<table class="paginator">
	<tr>
		<td>
			<?php echo $this->paginator; ?>
		</td>
	</tr>
</table>	



<input type="hidden" name="cmd" id="cmd">
<input type="hidden" name="params" id="params" value="">
